home *** CD-ROM | disk | FTP | other *** search
/ Maclife 129 / MACLIFE129.ISO.7z / MACLIFE129.ISO / mac / Wired Movie / soundsaVR 1.1.sit / soundsaVR 1.1 ƒ / Goodies / Tile Calculator / background_2605.xml next >
Extensible Markup Language  |  1998-10-28  |  39KB  |  902 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2605</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3880.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3118.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>8</left>
  23.             <top>40</top>
  24.             <right>119</right>
  25.             <bottom>163</bottom>
  26.         </rect>
  27.         <style>scrolling</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>right</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>9</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>12</textHeight>
  40.         <name>SRClist</name>
  41.         <script>on mouseupset the scroll of fld "ValidList" to 0--  if there is a fld (value(word 2 of the clickline) + 8) thenif line (value(word 2 of the clickline)) of fld "SRClist" <> "" thenselect line (word 2 of the clickline) to (word 2 of the clickline) of fld "SRClist"lockONput fld (value(word 2 of the clickline) + 8) into field "ValidList"killEmptyLinesboldCommonValueslockOFFselect line (word 2 of the clickline) to (word 2 of the clickline) of fld "SRClist"elsekillEmptyLinesend ifend mouseupon boldCommonValuesif the number of lines in field "common" > 0 thenlockONrepeat with x = 1 to the number of lines in fld "common"--    set cursor to busyrepeat with y = 1 to the number of lines in fld "validList"if value(line x of fld "common" ) = value(line y of fld "validList" ) then set the textstyle of line y of fld "validList" to "bold,condense"end repeatend repeatlockOFFelseanswer "There are no common values available." & return & "You must Re calculate"end ifend boldCommonValues</script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <false /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <true /> </lockText>
  53.         <rect>
  54.             <left>133</left>
  55.             <top>28</top>
  56.             <right>219</right>
  57.             <bottom>163</bottom>
  58.         </rect>
  59.         <style>scrolling</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>right</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>9</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>12</textHeight>
  72.         <name>ValidList</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>3</id>
  77.         <type>field</type>
  78.         <visible> <true /> </visible>
  79.         <dontWrap> <false /> </dontWrap>
  80.         <dontSearch> <false /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <false /> </fixedLineHeight>
  83.         <autoTab> <false /> </autoTab>
  84.         <lockText> <true /> </lockText>
  85.         <rect>
  86.             <left>129</left>
  87.             <top>219</top>
  88.             <right>213</right>
  89.             <bottom>340</bottom>
  90.         </rect>
  91.         <style>scrolling</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <false /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>right</textAlign>
  100.         <font>Geneva</font>
  101.         <textSize>9</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <textHeight>12</textHeight>
  104.         <name>Common</name>
  105.         <script></script>
  106.     </part>
  107.     <part>
  108.         <id>4</id>
  109.         <type>field</type>
  110.         <visible> <true /> </visible>
  111.         <dontWrap> <false /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <false /> </fixedLineHeight>
  115.         <autoTab> <false /> </autoTab>
  116.         <lockText> <true /> </lockText>
  117.         <rect>
  118.             <left>8</left>
  119.             <top>1</top>
  120.             <right>119</right>
  121.             <bottom>28</bottom>
  122.         </rect>
  123.         <style>transparent</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <false /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>center</textAlign>
  132.         <font>Geneva</font>
  133.         <textSize>9</textSize>
  134.         <textStyle>bold</textStyle>
  135.         <textHeight>12</textHeight>
  136.         <name>L1</name>
  137.         <script></script>
  138.     </part>
  139.     <part>
  140.         <id>5</id>
  141.         <type>field</type>
  142.         <visible> <true /> </visible>
  143.         <dontWrap> <false /> </dontWrap>
  144.         <dontSearch> <false /> </dontSearch>
  145.         <sharedText> <false /> </sharedText>
  146.         <fixedLineHeight> <false /> </fixedLineHeight>
  147.         <autoTab> <false /> </autoTab>
  148.         <lockText> <true /> </lockText>
  149.         <rect>
  150.             <left>124</left>
  151.             <top>1</top>
  152.             <right>227</right>
  153.             <bottom>28</bottom>
  154.         </rect>
  155.         <style>transparent</style>
  156.         <autoSelect> <false /> </autoSelect>
  157.         <showLines> <false /> </showLines>
  158.         <wideMargins> <false /> </wideMargins>
  159.         <multipleLines> <false /> </multipleLines>
  160.         <reservedFamily> 0 </reservedFamily>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>center</textAlign>
  164.         <font>Geneva</font>
  165.         <textSize>9</textSize>
  166.         <textStyle>bold</textStyle>
  167.         <textHeight>12</textHeight>
  168.         <name>L2</name>
  169.         <script></script>
  170.     </part>
  171.     <part>
  172.         <id>6</id>
  173.         <type>field</type>
  174.         <visible> <true /> </visible>
  175.         <dontWrap> <false /> </dontWrap>
  176.         <dontSearch> <false /> </dontSearch>
  177.         <sharedText> <false /> </sharedText>
  178.         <fixedLineHeight> <true /> </fixedLineHeight>
  179.         <autoTab> <false /> </autoTab>
  180.         <lockText> <true /> </lockText>
  181.         <rect>
  182.             <left>106</left>
  183.             <top>190</top>
  184.             <right>218</right>
  185.             <bottom>218</bottom>
  186.         </rect>
  187.         <style>transparent</style>
  188.         <autoSelect> <false /> </autoSelect>
  189.         <showLines> <false /> </showLines>
  190.         <wideMargins> <false /> </wideMargins>
  191.         <multipleLines> <false /> </multipleLines>
  192.         <reservedFamily> 0 </reservedFamily>
  193.         <titleWidth>0</titleWidth>
  194.         <icon>0</icon>
  195.         <textAlign>right</textAlign>
  196.         <font>Geneva</font>
  197.         <textSize>9</textSize>
  198.         <textStyle>shadow</textStyle>
  199.         <textStyle>bold</textStyle>
  200.         <textHeight>13</textHeight>
  201.         <name>L3</name>
  202.         <script></script>
  203.     </part>
  204.     <part>
  205.         <id>9</id>
  206.         <type>button</type>
  207.         <visible> <true /> </visible>
  208.         <reserved5> 0 </reserved5>
  209.         <reserved4> 0 </reserved4>
  210.         <reserved3> 0 </reserved3>
  211.         <reserved2> 0 </reserved2>
  212.         <reserved1> 0 </reserved1>
  213.         <enabled> <true /> </enabled>
  214.         <rect>
  215.             <left>11</left>
  216.             <top>194</top>
  217.             <right>102</right>
  218.             <bottom>214</bottom>
  219.         </rect>
  220.         <style>roundrect</style>
  221.         <showName> <true /> </showName>
  222.         <highlight> <false /> </highlight>
  223.         <autoHighlight> <true /> </autoHighlight>
  224.         <sharedHighlight> <true /> </sharedHighlight>
  225.         <family>0</family>
  226.         <titleWidth>0</titleWidth>
  227.         <icon>0</icon>
  228.         <textAlign>center</textAlign>
  229.         <font>Geneva</font>
  230.         <textSize>12</textSize>
  231.         <textStyle>bold</textStyle>
  232.         <name>Calculate</name>
  233.         <script>on mouseUpglobal fromCalcButtonplainTextput true into fromCalcButtonput " " into fld "common"put "" into fld "validList"if the icon of bg btn "edit" = 201 then  send mouseup to bg btn "edit"if  the number of lines in fld "SRClist"< 1 thenanswer "There are no valid source pict dimensions." & return & "You must enter valid dimensions."exit mouseupend if-- create any needed storage reference fields and all needed dynamic variables for speedier comparingif the number of lines in fld "SRClist" > the number of fields - 8 thenrepeat with listHolder = 1 to the number of lines in fld "SRClist"set the cursor to busylockONif there is no fld (listHolder + 8) then myNewLineStorage,(listHolder + 8)lockOFFend repeatend ifrepeat with listHolder = 1 to the number of lines in fld "SRClist"do "global" &&  "ValidHolder" & listHolderend repeat-- calculate all the valid tile values for each line in the sourcepict dimension list and fill them into-- the dynamic global variables ValidHolder<x> to create a text block array type of dohickyput false into badValrepeat with linNum = 1 to the number of lines in fld "SRClist"set the cursor to busyput figureData (linNum, line linNum of fld "SRClist")  into entryTypeif entryType = -1 thenbeepanswer "Invalid Data in line"&& linNum && "of the source pict dimensions list." & return & return & "Check your dimensions and ensure only two sets of numerals are entered, seperated by spaces."exit mouseupend ifput value(word entryType of line linNum of fld "SRClist") into selDimif selDim > 200000 thenbeepanswer "Maximum vertical dimension is 200,000." & return & return & "Make sure all source pict values are below 200,000 before you calculate."exit mouseupend if-- fix invalid source pict dimensions to the closest value divisible by fourif selDim / 4 <> round(selDim / 4) thenput getCloseDiv4(selDim) into selDimput selDim into word entryType of line linNum of fld "SRClist"set the textstyle of  word entryType of line linNum  of fld "SRClist" to "bold,condense"end ifput selDim / 4 into selDimQrtrput "" into fld(linNum + 8)do "put" && quote && quote && "into  ValidHolder" & (linNum)if selDimQrtr = round(selDim / 4) then    -- calculate valid tile valuesput  selDimQrtr into selDimrepeat with  x =  selDim  down to 1     -- if valid sourcepict dimension then calc valid tile values and fill array itemset the cursor to busyif selDim / x = (round(selDim / x)) then do "put selDim / x & return after  ValidHolder" & (linNum)end repeatrepeat with y = 1 to the number of lines in fld "SRClist"       -- dump all array items into matching fieldsset the cursor to busydo  "put ValidHolder" & y && "into fld" && (y + 8)end repeatelse  -- cancel line entryanswer "The sourcepict dimension at line" && linNum && "is not evenly divisible by 4, alter it and re-calculate"put true into badValexit repeatend ifend repeatif badVal = false then  getCommonValsIn the number of lines in fld "SRClist"  -- Compare all the valid valuesif value(line 1 of fld "common") <> 1 then       -- Bad  Databeepanswer "Bad comparison detected, the calculated values seem to be out of range." & return & return & "Check your dimensions and ensure only numerals are entered."end ifset the cursor to arrowend mouseUpon getCommonValsIn   sourceContainersglobal nums                       -- declare dynamic global variables locallyput sourceContainers into numsrepeat with times = 1 to sourceContainersdo "global" &&  "ValidHolder" & timesend repeatrepeat with currCompareFld = 2 to sourceContainers   -- containers to crosscheckdeleteBadValsFromSource 1, currCompareFldend repeatput  ValidHolder1 into fld  "common"end getCommonValsInon deleteBadValsFromSource currFld, currCompareFldput 1 into currLineglobal nums                       -- declare dynamic global variables locallyrepeat with timesa = 1 to numsdo "global" &&  "ValidHolder" & timesaend repeatrepeat with currLineLoop = 1  to (the number of lines in fld currCompareFld + 8)         -- lines in current container to crosscheckrepeat while currVal <> emptyput currLine + 1 into currLineset the cursor to busydo "put value(line " &  currLine & " of ValidHolder" & currFld & ") into currVal"do "put the number of lines of ValidHolder" & currCompareFld & " into compareFldMaxLines"if currValExistInContainer(currVal, currCompareFld, compareFldMaxLines) = false thendo "delete line " &  currLine & " of ValidHolder" & CurrFldput currLine - 1 into currLineend ifend repeatend repeatend deleteBadValsFromSourcefunction currValExistInContainer currVal, currCompareFld, compareFldMaxLinesglobal nums                       -- declare dynamic global variables locallyrepeat with timesa = 1 to numsdo "global" &&  "ValidHolder" & timesaend repeatput false into  currValExistInContainerrepeat with compareFldCurrLine = 1 to compareFldMaxLinesdo "put value(line " &  compareFldCurrLine & " of ValidHolder" & currCompareFld & ") into compareVal"if currVal <> compareVal then put true into  thisCompareValIsBadelse put false into  thisCompareValIsBadif thisCompareValIsBad = false then put true into currValExistInContainerend repeatreturn currValExistInContainerend currValExistInContainerfunction figureData linNum, figureDataput the number of words of figureData into entryTypeif  entryType > 2 then put -1 into entryTypeif entryType <> -1 thenif entryType = 2 thenput value(word 1 of line linNum of fld "SRClist") into numput getCloseDiv4(num) into newNumif newNum <> num thenput newNum into word 1 of line linNum of fld "SRClist"set the textstyle of word 1 of line linNum of fld "SRClist" to "bold,condense"end ifend ifend ifreturn entryTypeend figureDatafunction getCloseDiv4 valif val / 4 <> round(val / 4) then put (round((val + 1) / 4) * 4) into valreturn valend getCloseDiv4</script>
  234.     </part>
  235.     <part>
  236.         <id>10</id>
  237.         <type>button</type>
  238.         <visible> <true /> </visible>
  239.         <reserved5> 0 </reserved5>
  240.         <reserved4> 0 </reserved4>
  241.         <reserved3> 0 </reserved3>
  242.         <reserved2> 0 </reserved2>
  243.         <reserved1> 0 </reserved1>
  244.         <enabled> <true /> </enabled>
  245.         <rect>
  246.             <left>24</left>
  247.             <top>226</top>
  248.             <right>58</right>
  249.             <bottom>260</bottom>
  250.         </rect>
  251.         <style>transparent</style>
  252.         <showName> <false /> </showName>
  253.         <highlight> <false /> </highlight>
  254.         <autoHighlight> <false /> </autoHighlight>
  255.         <sharedHighlight> <false /> </sharedHighlight>
  256.         <family>0</family>
  257.         <titleWidth>0</titleWidth>
  258.         <icon>203</icon>
  259.         <textAlign>center</textAlign>
  260.         <font>Chicago</font>
  261.         <textSize>12</textSize>
  262.         <textStyle>plain</textStyle>
  263.         <name></name>
  264.         <script>on mousedownset the icon of me to 204repeat while the mouse is downif the mouseloc is within the rect of me then set the icon of me to 204else  set the icon of me to 203end repeatset the icon of me to 203if the mouseloc is within the rect of me thenlockONdomenu "New Card"end ifend mousedown</script>
  265.     </part>
  266.     <part>
  267.         <id>11</id>
  268.         <type>button</type>
  269.         <visible> <true /> </visible>
  270.         <reserved5> 0 </reserved5>
  271.         <reserved4> 0 </reserved4>
  272.         <reserved3> 0 </reserved3>
  273.         <reserved2> 0 </reserved2>
  274.         <reserved1> 0 </reserved1>
  275.         <enabled> <true /> </enabled>
  276.         <rect>
  277.             <left>99</left>
  278.             <top>22</top>
  279.             <right>121</right>
  280.             <bottom>40</bottom>
  281.         </rect>
  282.         <style>transparent</style>
  283.         <showName> <false /> </showName>
  284.         <highlight> <false /> </highlight>
  285.         <autoHighlight> <true /> </autoHighlight>
  286.         <sharedHighlight> <true /> </sharedHighlight>
  287.         <family>0</family>
  288.         <titleWidth>0</titleWidth>
  289.         <icon>200</icon>
  290.         <textAlign>center</textAlign>
  291.         <font>Charcoal</font>
  292.         <textSize>12</textSize>
  293.         <textStyle>plain</textStyle>
  294.         <name>Edit</name>
  295.         <script>on mouseUpglobal myDimList, myNewDimList, fromCalcButtonwait 10 ticksif the optionkey is down then plainTextif the icon of me = "200" thenput fld "SRClist" into myDimListset the icon of me to "201"set the locktext of field "SRCList" to falseput fld "SRClist" into myNewDimListelseset the icon of me to "200"set the locktext of field "SRCList" to truefixSpaceskillEmptyLinesput fld "SRClist" into myNewDimListend ifif fromCalcButton = false thenif  myDimList <> myNewDimList then  answer "The dimension list has been modified." & return & "You must Re-calculate"end ifput false into fromCalcButtonend mouseUp</script>
  296.     </part>
  297.     <part>
  298.         <id>170</id>
  299.         <type>button</type>
  300.         <visible> <true /> </visible>
  301.         <reserved5> 0 </reserved5>
  302.         <reserved4> 0 </reserved4>
  303.         <reserved3> 0 </reserved3>
  304.         <reserved2> 0 </reserved2>
  305.         <reserved1> 0 </reserved1>
  306.         <enabled> <true /> </enabled>
  307.         <rect>
  308.             <left>62</left>
  309.             <top>235</top>
  310.             <right>83</right>
  311.             <bottom>255</bottom>
  312.         </rect>
  313.         <style>transparent</style>
  314.         <showName> <false /> </showName>
  315.         <highlight> <false /> </highlight>
  316.         <autoHighlight> <true /> </autoHighlight>
  317.         <sharedHighlight> <true /> </sharedHighlight>
  318.         <family>0</family>
  319.         <titleWidth>0</titleWidth>
  320.         <icon>1014</icon>
  321.         <textAlign>center</textAlign>
  322.         <font>Chicago</font>
  323.         <textSize>12</textSize>
  324.         <textStyle>plain</textStyle>
  325.         <name></name>
  326.         <script>on mouseUp--  lockONgo previousend mouseUp</script>
  327.     </part>
  328.     <part>
  329.         <id>171</id>
  330.         <type>button</type>
  331.         <visible> <true /> </visible>
  332.         <reserved5> 0 </reserved5>
  333.         <reserved4> 0 </reserved4>
  334.         <reserved3> 0 </reserved3>
  335.         <reserved2> 0 </reserved2>
  336.         <reserved1> 0 </reserved1>
  337.         <enabled> <true /> </enabled>
  338.         <rect>
  339.             <left>84</left>
  340.             <top>235</top>
  341.             <right>107</right>
  342.             <bottom>255</bottom>
  343.         </rect>
  344.         <style>transparent</style>
  345.         <showName> <false /> </showName>
  346.         <highlight> <false /> </highlight>
  347.         <autoHighlight> <true /> </autoHighlight>
  348.         <sharedHighlight> <true /> </sharedHighlight>
  349.         <family>0</family>
  350.         <titleWidth>0</titleWidth>
  351.         <icon>1013</icon>
  352.         <textAlign>center</textAlign>
  353.         <font>Chicago</font>
  354.         <textSize>12</textSize>
  355.         <textStyle>plain</textStyle>
  356.         <name></name>
  357.         <script>on mouseUp--  lockONgo nextend mouseUp</script>
  358.     </part>
  359.     <part>
  360.         <id>320</id>
  361.         <type>field</type>
  362.         <visible> <true /> </visible>
  363.         <dontWrap> <false /> </dontWrap>
  364.         <dontSearch> <false /> </dontSearch>
  365.         <sharedText> <false /> </sharedText>
  366.         <fixedLineHeight> <true /> </fixedLineHeight>
  367.         <autoTab> <false /> </autoTab>
  368.         <lockText> <true /> </lockText>
  369.         <rect>
  370.             <left>235</left>
  371.             <top>137</top>
  372.             <right>497</right>
  373.             <bottom>255</bottom>
  374.         </rect>
  375.         <style>scrolling</style>
  376.         <autoSelect> <false /> </autoSelect>
  377.         <showLines> <false /> </showLines>
  378.         <wideMargins> <true /> </wideMargins>
  379.         <multipleLines> <false /> </multipleLines>
  380.         <reservedFamily> 0 </reservedFamily>
  381.         <titleWidth>0</titleWidth>
  382.         <icon>0</icon>
  383.         <textAlign>left</textAlign>
  384.         <font>Times</font>
  385.         <textSize>9</textSize>
  386.         <textStyle>plain</textStyle>
  387.         <textHeight>10</textHeight>
  388.         <name>HowUse</name>
  389.         <script></script>
  390.     </part>
  391.     <part>
  392.         <id>321</id>
  393.         <type>field</type>
  394.         <visible> <true /> </visible>
  395.         <dontWrap> <true /> </dontWrap>
  396.         <dontSearch> <false /> </dontSearch>
  397.         <sharedText> <false /> </sharedText>
  398.         <fixedLineHeight> <false /> </fixedLineHeight>
  399.         <autoTab> <false /> </autoTab>
  400.         <lockText> <false /> </lockText>
  401.         <rect>
  402.             <left>40</left>
  403.             <top>169</top>
  404.             <right>219</right>
  405.             <bottom>183</bottom>
  406.         </rect>
  407.         <style>rectangle</style>
  408.         <autoSelect> <false /> </autoSelect>
  409.         <showLines> <false /> </showLines>
  410.         <wideMargins> <false /> </wideMargins>
  411.         <multipleLines> <false /> </multipleLines>
  412.         <reservedFamily> 0 </reservedFamily>
  413.         <titleWidth>0</titleWidth>
  414.         <icon>0</icon>
  415.         <textAlign>center</textAlign>
  416.         <font>Geneva</font>
  417.         <textSize>9</textSize>
  418.         <textStyle>bold</textStyle>
  419.         <textHeight>12</textHeight>
  420.         <name>User Set</name>
  421.         <script></script>
  422.     </part>
  423.     <part>
  424.         <id>365</id>
  425.         <type>button</type>
  426.         <visible> <true /> </visible>
  427.         <reserved5> 0 </reserved5>
  428.         <reserved4> 0 </reserved4>
  429.         <reserved3> 0 </reserved3>
  430.         <reserved2> 0 </reserved2>
  431.         <reserved1> 0 </reserved1>
  432.         <enabled> <true /> </enabled>
  433.         <rect>
  434.             <left>54</left>
  435.             <top>222</top>
  436.             <right>114</right>
  437.             <bottom>236</bottom>
  438.         </rect>
  439.         <style>transparent</style>
  440.         <showName> <true /> </showName>
  441.         <highlight> <false /> </highlight>
  442.         <autoHighlight> <false /> </autoHighlight>
  443.         <sharedHighlight> <false /> </sharedHighlight>
  444.         <family>0</family>
  445.         <titleWidth>0</titleWidth>
  446.         <icon>0</icon>
  447.         <textAlign>center</textAlign>
  448.         <font>Chicago</font>
  449.         <textSize>10</textSize>
  450.         <textStyle>plain</textStyle>
  451.         <name>1 / 5</name>
  452.         <script></script>
  453.     </part>
  454.     <part>
  455.         <id>483</id>
  456.         <type>button</type>
  457.         <visible> <true /> </visible>
  458.         <reserved5> 0 </reserved5>
  459.         <reserved4> 0 </reserved4>
  460.         <reserved3> 0 </reserved3>
  461.         <reserved2> 0 </reserved2>
  462.         <reserved1> 0 </reserved1>
  463.         <enabled> <true /> </enabled>
  464.         <rect>
  465.             <left>9</left>
  466.             <top>331</top>
  467.             <right>113</right>
  468.             <bottom>346</bottom>
  469.         </rect>
  470.         <style>roundrect</style>
  471.         <showName> <true /> </showName>
  472.         <highlight> <false /> </highlight>
  473.         <autoHighlight> <true /> </autoHighlight>
  474.         <sharedHighlight> <false /> </sharedHighlight>
  475.         <family>0</family>
  476.         <titleWidth>0</titleWidth>
  477.         <icon>0</icon>
  478.         <textAlign>center</textAlign>
  479.         <font>Geneva</font>
  480.         <textSize>9</textSize>
  481.         <textStyle>bold</textStyle>
  482.         <name>Hide Information</name>
  483.         <script>on mouseUpif the short name of me is "Show Information" thenset the rect of this card  to 0,0,512,352set the name of me to "Hide Information"fixlineelseset the rect of this card  to 0,0,224,352set the name of me to "Show Information"end ifend mouseUp</script>
  484.     </part>
  485.     <part>
  486.         <id>1318</id>
  487.         <type>button</type>
  488.         <visible> <true /> </visible>
  489.         <reserved5> 0 </reserved5>
  490.         <reserved4> 0 </reserved4>
  491.         <reserved3> 0 </reserved3>
  492.         <reserved2> 0 </reserved2>
  493.         <reserved1> 0 </reserved1>
  494.         <enabled> <true /> </enabled>
  495.         <rect>
  496.             <left>27</left>
  497.             <top>166</top>
  498.             <right>49</right>
  499.             <bottom>188</bottom>
  500.         </rect>
  501.         <style>transparent</style>
  502.         <showName> <false /> </showName>
  503.         <highlight> <false /> </highlight>
  504.         <autoHighlight> <true /> </autoHighlight>
  505.         <sharedHighlight> <false /> </sharedHighlight>
  506.         <family>0</family>
  507.         <titleWidth>0</titleWidth>
  508.         <icon>206</icon>
  509.         <textAlign>center</textAlign>
  510.         <font>Chicago</font>
  511.         <textSize>12</textSize>
  512.         <textStyle>plain</textStyle>
  513.         <name>FindButton</name>
  514.         <script>on mouseUpglobal findstring, lastFindTypeask "Enter the search term you wish to find in the 'User Set' field:" with findstringput the number of this cd into currCardif it is not empty thenput it into findstringput "Set" into lastFindTypefind findstring in fld "user set"if the number of this card = currCard thenset lockscreen to truego nextfind findstring in fld "user set"set lockscreen to falseend ifend ifend mouseUp</script>
  515.     </part>
  516.     <part>
  517.         <id>2459</id>
  518.         <type>button</type>
  519.         <visible> <true /> </visible>
  520.         <reserved5> 0 </reserved5>
  521.         <reserved4> 0 </reserved4>
  522.         <reserved3> 0 </reserved3>
  523.         <reserved2> 0 </reserved2>
  524.         <reserved1> 0 </reserved1>
  525.         <enabled> <true /> </enabled>
  526.         <rect>
  527.             <left>487</left>
  528.             <top>116</top>
  529.             <right>509</right>
  530.             <bottom>138</bottom>
  531.         </rect>
  532.         <style>transparent</style>
  533.         <showName> <false /> </showName>
  534.         <highlight> <false /> </highlight>
  535.         <autoHighlight> <true /> </autoHighlight>
  536.         <sharedHighlight> <false /> </sharedHighlight>
  537.         <family>0</family>
  538.         <titleWidth>0</titleWidth>
  539.         <icon>205</icon>
  540.         <textAlign>center</textAlign>
  541.         <font>Chicago</font>
  542.         <textSize>12</textSize>
  543.         <textStyle>plain</textStyle>
  544.         <name>FindInstructions</name>
  545.         <script>on mouseUpglobal howfindstring, lastFindTypeask "Enter the search term you wish to find in the 'How to use this stack' field:" with howfindstringif it is not empty thenput it into howfindstringput "How" into lastFindTypety howfindstringend ifend mouseUp</script>
  546.     </part>
  547.     <part>
  548.         <id>4455</id>
  549.         <type>field</type>
  550.         <visible> <false /> </visible>
  551.         <dontWrap> <false /> </dontWrap>
  552.         <dontSearch> <false /> </dontSearch>
  553.         <sharedText> <false /> </sharedText>
  554.         <fixedLineHeight> <false /> </fixedLineHeight>
  555.         <autoTab> <false /> </autoTab>
  556.         <lockText> <true /> </lockText>
  557.         <rect>
  558.             <left>156</left>
  559.             <top>125</top>
  560.             <right>356</right>
  561.             <bottom>210</bottom>
  562.         </rect>
  563.         <style>rectangle</style>
  564.         <autoSelect> <false /> </autoSelect>
  565.         <showLines> <false /> </showLines>
  566.         <wideMargins> <false /> </wideMargins>
  567.         <multipleLines> <false /> </multipleLines>
  568.         <reservedFamily> 0 </reservedFamily>
  569.         <titleWidth>0</titleWidth>
  570.         <icon>0</icon>
  571.         <textAlign>left</textAlign>
  572.         <font>Geneva</font>
  573.         <textSize>12</textSize>
  574.         <textStyle>plain</textStyle>
  575.         <textHeight>16</textHeight>
  576.         <name></name>
  577.         <script></script>
  578.     </part>
  579.     <part>
  580.         <id>4456</id>
  581.         <type>field</type>
  582.         <visible> <false /> </visible>
  583.         <dontWrap> <false /> </dontWrap>
  584.         <dontSearch> <false /> </dontSearch>
  585.         <sharedText> <false /> </sharedText>
  586.         <fixedLineHeight> <false /> </fixedLineHeight>
  587.         <autoTab> <false /> </autoTab>
  588.         <lockText> <true /> </lockText>
  589.         <rect>
  590.             <left>156</left>
  591.             <top>125</top>
  592.             <right>356</right>
  593.             <bottom>210</bottom>
  594.         </rect>
  595.         <style>rectangle</style>
  596.         <autoSelect> <false /> </autoSelect>
  597.         <showLines> <false /> </showLines>
  598.         <wideMargins> <false /> </wideMargins>
  599.         <multipleLines> <false /> </multipleLines>
  600.         <reservedFamily> 0 </reservedFamily>
  601.         <titleWidth>0</titleWidth>
  602.         <icon>0</icon>
  603.         <textAlign>left</textAlign>
  604.         <font>Geneva</font>
  605.         <textSize>12</textSize>
  606.         <textStyle>plain</textStyle>
  607.         <textHeight>16</textHeight>
  608.         <name></name>
  609.         <script></script>
  610.     </part>
  611.     <part>
  612.         <id>4457</id>
  613.         <type>field</type>
  614.         <visible> <false /> </visible>
  615.         <dontWrap> <false /> </dontWrap>
  616.         <dontSearch> <false /> </dontSearch>
  617.         <sharedText> <false /> </sharedText>
  618.         <fixedLineHeight> <false /> </fixedLineHeight>
  619.         <autoTab> <false /> </autoTab>
  620.         <lockText> <true /> </lockText>
  621.         <rect>
  622.             <left>156</left>
  623.             <top>125</top>
  624.             <right>356</right>
  625.             <bottom>210</bottom>
  626.         </rect>
  627.         <style>rectangle</style>
  628.         <autoSelect> <false /> </autoSelect>
  629.         <showLines> <false /> </showLines>
  630.         <wideMargins> <false /> </wideMargins>
  631.         <multipleLines> <false /> </multipleLines>
  632.         <reservedFamily> 0 </reservedFamily>
  633.         <titleWidth>0</titleWidth>
  634.         <icon>0</icon>
  635.         <textAlign>left</textAlign>
  636.         <font>Geneva</font>
  637.         <textSize>12</textSize>
  638.         <textStyle>plain</textStyle>
  639.         <textHeight>16</textHeight>
  640.         <name></name>
  641.         <script></script>
  642.     </part>
  643.     <part>
  644.         <id>4458</id>
  645.         <type>field</type>
  646.         <visible> <false /> </visible>
  647.         <dontWrap> <false /> </dontWrap>
  648.         <dontSearch> <false /> </dontSearch>
  649.         <sharedText> <false /> </sharedText>
  650.         <fixedLineHeight> <false /> </fixedLineHeight>
  651.         <autoTab> <false /> </autoTab>
  652.         <lockText> <true /> </lockText>
  653.         <rect>
  654.             <left>156</left>
  655.             <top>125</top>
  656.             <right>356</right>
  657.             <bottom>210</bottom>
  658.         </rect>
  659.         <style>rectangle</style>
  660.         <autoSelect> <false /> </autoSelect>
  661.         <showLines> <false /> </showLines>
  662.         <wideMargins> <false /> </wideMargins>
  663.         <multipleLines> <false /> </multipleLines>
  664.         <reservedFamily> 0 </reservedFamily>
  665.         <titleWidth>0</titleWidth>
  666.         <icon>0</icon>
  667.         <textAlign>left</textAlign>
  668.         <font>Geneva</font>
  669.         <textSize>12</textSize>
  670.         <textStyle>plain</textStyle>
  671.         <textHeight>16</textHeight>
  672.         <name></name>
  673.         <script></script>
  674.     </part>
  675.     <part>
  676.         <id>4459</id>
  677.         <type>field</type>
  678.         <visible> <false /> </visible>
  679.         <dontWrap> <false /> </dontWrap>
  680.         <dontSearch> <false /> </dontSearch>
  681.         <sharedText> <false /> </sharedText>
  682.         <fixedLineHeight> <false /> </fixedLineHeight>
  683.         <autoTab> <false /> </autoTab>
  684.         <lockText> <true /> </lockText>
  685.         <rect>
  686.             <left>156</left>
  687.             <top>125</top>
  688.             <right>356</right>
  689.             <bottom>210</bottom>
  690.         </rect>
  691.         <style>rectangle</style>
  692.         <autoSelect> <false /> </autoSelect>
  693.         <showLines> <false /> </showLines>
  694.         <wideMargins> <false /> </wideMargins>
  695.         <multipleLines> <false /> </multipleLines>
  696.         <reservedFamily> 0 </reservedFamily>
  697.         <titleWidth>0</titleWidth>
  698.         <icon>0</icon>
  699.         <textAlign>left</textAlign>
  700.         <font>Geneva</font>
  701.         <textSize>12</textSize>
  702.         <textStyle>plain</textStyle>
  703.         <textHeight>16</textHeight>
  704.         <name></name>
  705.         <script></script>
  706.     </part>
  707.     <part>
  708.         <id>4460</id>
  709.         <type>field</type>
  710.         <visible> <false /> </visible>
  711.         <dontWrap> <false /> </dontWrap>
  712.         <dontSearch> <false /> </dontSearch>
  713.         <sharedText> <false /> </sharedText>
  714.         <fixedLineHeight> <false /> </fixedLineHeight>
  715.         <autoTab> <false /> </autoTab>
  716.         <lockText> <true /> </lockText>
  717.         <rect>
  718.             <left>156</left>
  719.             <top>125</top>
  720.             <right>356</right>
  721.             <bottom>210</bottom>
  722.         </rect>
  723.         <style>rectangle</style>
  724.         <autoSelect> <false /> </autoSelect>
  725.         <showLines> <false /> </showLines>
  726.         <wideMargins> <false /> </wideMargins>
  727.         <multipleLines> <false /> </multipleLines>
  728.         <reservedFamily> 0 </reservedFamily>
  729.         <titleWidth>0</titleWidth>
  730.         <icon>0</icon>
  731.         <textAlign>left</textAlign>
  732.         <font>Geneva</font>
  733.         <textSize>12</textSize>
  734.         <textStyle>plain</textStyle>
  735.         <textHeight>16</textHeight>
  736.         <name></name>
  737.         <script></script>
  738.     </part>
  739.     <part>
  740.         <id>4461</id>
  741.         <type>field</type>
  742.         <visible> <false /> </visible>
  743.         <dontWrap> <false /> </dontWrap>
  744.         <dontSearch> <false /> </dontSearch>
  745.         <sharedText> <false /> </sharedText>
  746.         <fixedLineHeight> <false /> </fixedLineHeight>
  747.         <autoTab> <false /> </autoTab>
  748.         <lockText> <true /> </lockText>
  749.         <rect>
  750.             <left>156</left>
  751.             <top>125</top>
  752.             <right>356</right>
  753.             <bottom>210</bottom>
  754.         </rect>
  755.         <style>rectangle</style>
  756.         <autoSelect> <false /> </autoSelect>
  757.         <showLines> <false /> </showLines>
  758.         <wideMargins> <false /> </wideMargins>
  759.         <multipleLines> <false /> </multipleLines>
  760.         <reservedFamily> 0 </reservedFamily>
  761.         <titleWidth>0</titleWidth>
  762.         <icon>0</icon>
  763.         <textAlign>left</textAlign>
  764.         <font>Geneva</font>
  765.         <textSize>12</textSize>
  766.         <textStyle>plain</textStyle>
  767.         <textHeight>16</textHeight>
  768.         <name></name>
  769.         <script></script>
  770.     </part>
  771.     <part>
  772.         <id>4462</id>
  773.         <type>field</type>
  774.         <visible> <false /> </visible>
  775.         <dontWrap> <false /> </dontWrap>
  776.         <dontSearch> <false /> </dontSearch>
  777.         <sharedText> <false /> </sharedText>
  778.         <fixedLineHeight> <false /> </fixedLineHeight>
  779.         <autoTab> <false /> </autoTab>
  780.         <lockText> <true /> </lockText>
  781.         <rect>
  782.             <left>156</left>
  783.             <top>125</top>
  784.             <right>356</right>
  785.             <bottom>210</bottom>
  786.         </rect>
  787.         <style>rectangle</style>
  788.         <autoSelect> <false /> </autoSelect>
  789.         <showLines> <false /> </showLines>
  790.         <wideMargins> <false /> </wideMargins>
  791.         <multipleLines> <false /> </multipleLines>
  792.         <reservedFamily> 0 </reservedFamily>
  793.         <titleWidth>0</titleWidth>
  794.         <icon>0</icon>
  795.         <textAlign>left</textAlign>
  796.         <font>Geneva</font>
  797.         <textSize>12</textSize>
  798.         <textStyle>plain</textStyle>
  799.         <textHeight>16</textHeight>
  800.         <name></name>
  801.         <script></script>
  802.     </part>
  803.     <part>
  804.         <id>4463</id>
  805.         <type>field</type>
  806.         <visible> <false /> </visible>
  807.         <dontWrap> <false /> </dontWrap>
  808.         <dontSearch> <false /> </dontSearch>
  809.         <sharedText> <false /> </sharedText>
  810.         <fixedLineHeight> <false /> </fixedLineHeight>
  811.         <autoTab> <false /> </autoTab>
  812.         <lockText> <true /> </lockText>
  813.         <rect>
  814.             <left>156</left>
  815.             <top>125</top>
  816.             <right>356</right>
  817.             <bottom>210</bottom>
  818.         </rect>
  819.         <style>rectangle</style>
  820.         <autoSelect> <false /> </autoSelect>
  821.         <showLines> <false /> </showLines>
  822.         <wideMargins> <false /> </wideMargins>
  823.         <multipleLines> <false /> </multipleLines>
  824.         <reservedFamily> 0 </reservedFamily>
  825.         <titleWidth>0</titleWidth>
  826.         <icon>0</icon>
  827.         <textAlign>left</textAlign>
  828.         <font>Geneva</font>
  829.         <textSize>12</textSize>
  830.         <textStyle>plain</textStyle>
  831.         <textHeight>16</textHeight>
  832.         <name></name>
  833.         <script></script>
  834.     </part>
  835.     <part>
  836.         <id>4464</id>
  837.         <type>field</type>
  838.         <visible> <false /> </visible>
  839.         <dontWrap> <false /> </dontWrap>
  840.         <dontSearch> <false /> </dontSearch>
  841.         <sharedText> <false /> </sharedText>
  842.         <fixedLineHeight> <false /> </fixedLineHeight>
  843.         <autoTab> <false /> </autoTab>
  844.         <lockText> <true /> </lockText>
  845.         <rect>
  846.             <left>156</left>
  847.             <top>125</top>
  848.             <right>356</right>
  849.             <bottom>210</bottom>
  850.         </rect>
  851.         <style>rectangle</style>
  852.         <autoSelect> <false /> </autoSelect>
  853.         <showLines> <false /> </showLines>
  854.         <wideMargins> <false /> </wideMargins>
  855.         <multipleLines> <false /> </multipleLines>
  856.         <reservedFamily> 0 </reservedFamily>
  857.         <titleWidth>0</titleWidth>
  858.         <icon>0</icon>
  859.         <textAlign>left</textAlign>
  860.         <font>Geneva</font>
  861.         <textSize>12</textSize>
  862.         <textStyle>plain</textStyle>
  863.         <textHeight>16</textHeight>
  864.         <name></name>
  865.         <script></script>
  866.     </part>
  867.     <part>
  868.         <id>4465</id>
  869.         <type>field</type>
  870.         <visible> <false /> </visible>
  871.         <dontWrap> <false /> </dontWrap>
  872.         <dontSearch> <false /> </dontSearch>
  873.         <sharedText> <false /> </sharedText>
  874.         <fixedLineHeight> <false /> </fixedLineHeight>
  875.         <autoTab> <false /> </autoTab>
  876.         <lockText> <true /> </lockText>
  877.         <rect>
  878.             <left>156</left>
  879.             <top>125</top>
  880.             <right>356</right>
  881.             <bottom>210</bottom>
  882.         </rect>
  883.         <style>rectangle</style>
  884.         <autoSelect> <false /> </autoSelect>
  885.         <showLines> <false /> </showLines>
  886.         <wideMargins> <false /> </wideMargins>
  887.         <multipleLines> <false /> </multipleLines>
  888.         <reservedFamily> 0 </reservedFamily>
  889.         <titleWidth>0</titleWidth>
  890.         <icon>0</icon>
  891.         <textAlign>left</textAlign>
  892.         <font>Geneva</font>
  893.         <textSize>12</textSize>
  894.         <textStyle>plain</textStyle>
  895.         <textHeight>16</textHeight>
  896.         <name></name>
  897.         <script></script>
  898.     </part>
  899.     <name></name>
  900.     <script>--- Version 1.0---  CopyRight ツゥ1998 by SQUAMISH Media Group---  All Rights Reserved---                                  created by: David Solomonon openstackglobal hScrlput 0 into hScrlend openstackon closestackset the scroll of fld "HowUse" to 0end closestackon newCardchoose "browse" toollockONput "Source Pict Dimensions" into fld "L1"put "Valid Tile Values for Selected Dim" into fld "L2"put "Common Valid" & return & "Tile Values" into fld "L3"put bg fld 7 of cd 1 into bg fld 7boldInstructionHeadersfixline truelockOFFend newCardon opencardglobal hScrlfixline falsechoose "browse" toolset the scroll of fld "HowUse" to hScrlput "" into fld "validList"set the name of bg btn 6 to the number of this card & " / " & the number of cards in this stackif the number of lines in fld "SRClist" > the number of fields - 8 thenlockONrepeat with x = 1 to the number of lines in fld "SRClist"set the cursor to busymyNewLineStorage, ( x + 8)end repeatlockOFFend ifset the cursor to arrowend opencardon closecardglobal hScrlchoose "browse" toolif the icon of bg btn "edit" = 201 then  send mouseup to bg btn "edit"put "" into fld "validList"put the scroll of fld "HowUse" into hScrlend closecardon myNewLineStorage fldNumif there is a fld fldNum thenput 9 into uelsedomenu "Background"domenu "New Field"set the locktext of fld the number of fields to trueset the visible of fld the number of fields to falsedomenu "Background"end ifchoose "browse" toolend myNewLineStorageon boldInstructionHeaders--  put   "1,5,6,10,11,20,33,40" into lineListput "1,6,11,22,37,51" into lineListrepeat with currBoldLine  = 1 to the number of items in lineListset the textstyle of line value(item currBoldLine of lineList) of fld "HowUse" to  "bold"set the textfont of line value(item currBoldLine of lineList) of fld "HowUse" to  "Geneva"end repeatend boldInstructionHeaderson lockONset lockscreen to trueset  lockmessages to trueend lockONon lockOFFset lockscreen to falseset  lockmessages to falseend lockOFFon killEmptyLinesput true into emptyLinerepeat while emptyLine = true--    set the cursor to busyif the number of lines in fld "SRClist" < 1 then put false into emptyLineif line (the number of lines in fld "SRClist") of fld "SRClist" = "" thendelete line the number of lines in fld "SRClist" of fld "SRClist"elseput false into emptyLineend ifend repeatrepeat with y = 1 to 20--   set the cursor to busyrepeat with x = 1 to the number of lines in fld "SRClist"if line x of fld "SRClist" = "" then delete line x of fld "SRClist"end repeatend repeatset the cursor to arrowend killEmptyLineson fixSpacesrepeat with x = 1 to the number of lines in fld "SRClist"put line x of fld "SRClist" into theFixLinesif the number of words in theFixLines > 1 thenput word 1 of theFixLines  into bestLinerepeat with b = 1 to (16 - (the number of chars in word 2 of theFixLines * 2))put " " after bestLineend repeatput word 2 of theFixLines after bestLineput bestLine into  line x of fld "SRClist"elseput word 1 of theFixLines  into bestLineend ifend repeatif word 1 of bestLine = 0 then put empty into line x of fld "SRClist"end fixSpaceson fixline  fromNewCardput the lockscreen into prevStateset the lockscreen to trueset linesize to 1if item 3 of the rect of this card  > 300 thenset pattern to 1choose select tooldoMenu "select" -- kill line if it existschoose "pencil" tooldrag from 236,137 to 479,137end ifif fromNewCard is true thenset pattern to 6choose line tooldrag from 58,41 to 58,161end ifchoose "browse" toolset the lockscreen to prevStateend fixlineon ty termglobal hits, searchContainer, currHitInHits, maxhits, oldTermif term is not oldTerm thenput search ( fld "howuse", term, true, "all") into hitsput term into oldTermput 1 into currHitInHitsput the number of lines in hits into maxHitsput search ( fld "howuse", term, true, "all") into hitsend ifif hits is empty then answer "Sorry, couldn't find " & quote & term & quote & " in the instructions."else select char value(item 3 of line currHitInHits of hits)  to value(item 3 of line currHitInHits of hits) + the number of chars in term -1 of fld "howuse"put  currHitInHits + 1 into currHitInHitsif currHitInHits > maxHits then  put 1 into currHitInHitsend tyon plainTextrepeat with r = 1 to the number of lines in fld "SRClist"set the textstyle of line r of fld "SRClist" to "plain"end repeatend plainTexton commandKeyDown whichKeyglobal lastFindType, howfindstring, findstringif whichKey = "G" thenif lastFindType is not empty thenif lastFindType = "How" then ty howfindstringif lastFindType = "Set" thenset lockscreen to truego nextset lockscreen to falsefind findstring in fld "user set"if the result is "not found" thengo backend ifend ifend ifelsepass commandKeyDownend ifend commandKeyDown---                          Not Used in Program       ---   Dev Use ONLY   ---on killfieldsrepeat with k =  the number of flds down to 9delete field kend repeatend killfieldson emptyfieldsrepeat with k =  the number of flds down to 9put empty into field kend repeatend emptyfieldson getboldrepeat with l = 1 to the number of lines in field "HowUse"if the textstyle of line l of fld "HowUse" =  "bold" then put l & "," after boldLinesend repeatput boldLinesend getboldon litset the locktext of fld "howuse" to trueend liton uitset the locktext of fld "howuse" to falseend  uit</script>
  901. </background>
  902.